package cn.galudisu.reactivemanifesto

import com.typesafe.config.{Config, ConfigFactory}

object GospelConfig {

  val config: Config = ConfigFactory.load().getConfig("circuit-breaker")

  val enabled = config.getBoolean("enabled")

  val max_failures  = config.getInt("max-failures")
  val reset_timeout = config.getInt("reset-timeout")
  val call_timeout  = config.getInt("call-timeout")

  val initial_deplay = config.getInt("initial-deplay")
  val interval = config.getInt("interval")
}
